.TH "Transform" 3 "Fri Dec 13 2013" "GameEngine" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Transform \- 
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <Transform\&.h>\fP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBTransform\fP ()"
.br
.ti -1c
.RI "void \fBScale\fP (float ScaleX, float ScaleY, float ScaleZ)"
.br
.ti -1c
.RI "void \fBWorldPos\fP (float x, float y, float z)"
.br
.ti -1c
.RI "void \fBRotate\fP (float RotateX, float RotateY, float RotateZ)"
.br
.ti -1c
.RI "void \fBSetPerspectiveProj\fP (float \fBleft\fP, float \fBright\fP, float \fBtop\fP, float \fBbottom\fP, float \fBzNear\fP, float \fBzFar\fP)"
.br
.ti -1c
.RI "const \fBMatrix4f\fP * \fBGetTrans\fP ()"
.br
.ti -1c
.RI "\fBMatrix4f\fP \fBfrustum\fP (\fBMatrix4f\fP &m)"
.br
.ti -1c
.RI "\fBMatrix4f\fP \fBperspective\fP (float fovy, float aspect, float n, float f)"
.br
.ti -1c
.RI "\fBMatrix4f\fP \fBortho\fP (float \fBleft\fP, float \fBright\fP, float \fBbottom\fP, float \fBtop\fP, float n, float f)"
.br
.in -1c
.SS "Private Member Functions"

.in +1c
.ti -1c
.RI "void \fBInitScaleTransform\fP (\fBMatrix4f\fP &m) const "
.br
.ti -1c
.RI "void \fBInitRotateTransform\fP (\fBMatrix4f\fP &m) const "
.br
.ti -1c
.RI "void \fBInitTranslationTransform\fP (\fBMatrix4f\fP &m) const "
.br
.ti -1c
.RI "void \fBInitPerspectiveProj\fP (\fBMatrix4f\fP &m) const "
.br
.in -1c
.SS "Private Attributes"

.in +1c
.ti -1c
.RI "\fBVector3f\fP \fBm_scale\fP"
.br
.ti -1c
.RI "\fBVector3f\fP \fBm_worldPos\fP"
.br
.ti -1c
.RI "\fBVector3f\fP \fBm_rotateInfo\fP"
.br
.ti -1c
.RI "struct {"
.br
.ti -1c
.RI "   float \fBright\fP"
.br
.ti -1c
.RI "   float \fBleft\fP"
.br
.ti -1c
.RI "   float \fBtop\fP"
.br
.ti -1c
.RI "   float \fBbottom\fP"
.br
.ti -1c
.RI "   float \fBFOV\fP"
.br
.ti -1c
.RI "   float \fBWidth\fP"
.br
.ti -1c
.RI "   float \fBHeight\fP"
.br
.ti -1c
.RI "   float \fBzNear\fP"
.br
.ti -1c
.RI "   float \fBzFar\fP"
.br
.ti -1c
.RI "} \fBm_persProj\fP"
.br
.ti -1c
.RI "\fBMatrix4f\fP \fBm_transformation\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Definition at line 13 of file Transform\&.h\&.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "Transform::Transform ()\fC [inline]\fP"

.PP
Definition at line 15 of file Transform\&.h\&.
.PP
References m_rotateInfo, m_scale, and m_worldPos\&.
.SH "Member Function Documentation"
.PP 
.SS "\fBMatrix4f\fP Transform::frustum (\fBMatrix4f\fP &m)"

.PP
Definition at line 11 of file Transform\&.cpp\&.
.PP
References bottom, Matrix4f::InitIdentity(), left, Matrix4f::m, m_persProj, right, and top\&.
.PP
Referenced by GetTrans()\&.
.SS "const \fBMatrix4f\fP * Transform::GetTrans ()"

.PP
Definition at line 82 of file Transform\&.cpp\&.
.PP
References frustum(), InitRotateTransform(), InitScaleTransform(), InitTranslationTransform(), and m_transformation\&.
.SS "void Transform::InitPerspectiveProj (\fBMatrix4f\fP &m) const\fC [private]\fP"

.PP
Definition at line 95 of file Transform\&.cpp\&.
.PP
References Matrix4f::m, m_persProj, math::tan_axel(), ToRadian, zFar, and zNear\&.
.SS "void Transform::InitRotateTransform (\fBMatrix4f\fP &m) const\fC [private]\fP"

.PP
Definition at line 50 of file Transform\&.cpp\&.
.PP
References math::cos_axel(), Matrix4f::m, m_rotateInfo, math::sin_axel(), ToRadian, Vector3f::x, Vector3f::y, and Vector3f::z\&.
.PP
Referenced by GetTrans()\&.
.SS "void Transform::InitScaleTransform (\fBMatrix4f\fP &m) const\fC [private]\fP"

.PP
Definition at line 43 of file Transform\&.cpp\&.
.PP
References Matrix4f::m, m_scale, Vector3f::x, Vector3f::y, and Vector3f::z\&.
.PP
Referenced by GetTrans()\&.
.SS "void Transform::InitTranslationTransform (\fBMatrix4f\fP &m) const\fC [private]\fP"

.PP
Definition at line 75 of file Transform\&.cpp\&.
.PP
References Matrix4f::m, m_worldPos, Vector3f::x, Vector3f::y, and Vector3f::z\&.
.PP
Referenced by GetTrans()\&.
.SS "\fBMatrix4f\fP Transform::ortho (floatleft, floatright, floatbottom, floattop, floatn, floatf)"

.PP
Definition at line 108 of file Transform\&.cpp\&.
.SS "\fBMatrix4f\fP Transform::perspective (floatfovy, floataspect, floatn, floatf)"

.SS "void Transform::Rotate (floatRotateX, floatRotateY, floatRotateZ)\fC [inline]\fP"

.PP
Definition at line 34 of file Transform\&.h\&.
.PP
References m_rotateInfo, Vector3f::x, Vector3f::y, and Vector3f::z\&.
.SS "void Transform::Scale (floatScaleX, floatScaleY, floatScaleZ)\fC [inline]\fP"

.PP
Definition at line 22 of file Transform\&.h\&.
.PP
References m_scale, Vector3f::x, Vector3f::y, and Vector3f::z\&.
.SS "void Transform::SetPerspectiveProj (floatleft, floatright, floattop, floatbottom, floatzNear, floatzFar)\fC [inline]\fP"

.PP
Definition at line 40 of file Transform\&.h\&.
.PP
References bottom, left, m_persProj, right, top, zFar, and zNear\&.
.SS "void Transform::WorldPos (floatx, floaty, floatz)\fC [inline]\fP"

.PP
Definition at line 28 of file Transform\&.h\&.
.PP
References m_worldPos, Vector3f::x, Vector3f::y, and Vector3f::z\&.
.SH "Member Data Documentation"
.PP 
.SS "float Transform::bottom"

.PP
Definition at line 76 of file Transform\&.h\&.
.PP
Referenced by frustum(), and SetPerspectiveProj()\&.
.SS "float Transform::FOV"

.PP
Definition at line 77 of file Transform\&.h\&.
.SS "float Transform::Height"

.PP
Definition at line 79 of file Transform\&.h\&.
.SS "float Transform::left"

.PP
Definition at line 74 of file Transform\&.h\&.
.PP
Referenced by frustum(), and SetPerspectiveProj()\&.
.SS "struct { \&.\&.\&. }   Transform::m_persProj\fC [private]\fP"

.PP
Referenced by frustum(), InitPerspectiveProj(), and SetPerspectiveProj()\&.
.SS "\fBVector3f\fP Transform::m_rotateInfo\fC [private]\fP"

.PP
Definition at line 70 of file Transform\&.h\&.
.PP
Referenced by InitRotateTransform(), Rotate(), and Transform()\&.
.SS "\fBVector3f\fP Transform::m_scale\fC [private]\fP"

.PP
Definition at line 68 of file Transform\&.h\&.
.PP
Referenced by InitScaleTransform(), Scale(), and Transform()\&.
.SS "\fBMatrix4f\fP Transform::m_transformation\fC [private]\fP"

.PP
Definition at line 84 of file Transform\&.h\&.
.PP
Referenced by GetTrans()\&.
.SS "\fBVector3f\fP Transform::m_worldPos\fC [private]\fP"

.PP
Definition at line 69 of file Transform\&.h\&.
.PP
Referenced by InitTranslationTransform(), Transform(), and WorldPos()\&.
.SS "float Transform::right"

.PP
Definition at line 73 of file Transform\&.h\&.
.PP
Referenced by frustum(), and SetPerspectiveProj()\&.
.SS "float Transform::top"

.PP
Definition at line 75 of file Transform\&.h\&.
.PP
Referenced by frustum(), and SetPerspectiveProj()\&.
.SS "float Transform::Width"

.PP
Definition at line 78 of file Transform\&.h\&.
.SS "float Transform::zFar"

.PP
Definition at line 81 of file Transform\&.h\&.
.PP
Referenced by InitPerspectiveProj(), and SetPerspectiveProj()\&.
.SS "float Transform::zNear"

.PP
Definition at line 80 of file Transform\&.h\&.
.PP
Referenced by InitPerspectiveProj(), and SetPerspectiveProj()\&.

.SH "Author"
.PP 
Generated automatically by Doxygen for GameEngine from the source code\&.
